package com.xueyi.aixihu.entity.po;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class AxhFinance {
    private Integer id;

    private String financeTitle;

    private Integer fromToAreaId;

    private Date createTime;

    private Date lastUpdateTime;

    private Integer currentStatus;

    private BigDecimal borrowTotalMoney;

    private BigDecimal loanTotalMoney;

    private Integer isPublic;

    private Integer fbStatus;

    private Integer createUserId;

    private Integer areaType;


    private String sourceFileUrl;


    @Getter
    @Setter
    private String areaName;

    private String fbRejectDetail;

    private Integer restartAudit;

    public AxhFinance(Integer id, String financeTitle, Integer fromToAreaId, Date createTime, Date lastUpdateTime, Integer currentStatus, BigDecimal borrowTotalMoney, BigDecimal loanTotalMoney, Integer isPublic) {
        this.id = id;
        this.financeTitle = financeTitle;
        this.fromToAreaId = fromToAreaId;
        this.createTime = createTime;
        this.lastUpdateTime = lastUpdateTime;
        this.currentStatus = currentStatus;
        this.borrowTotalMoney = borrowTotalMoney;
        this.loanTotalMoney = loanTotalMoney;
        this.isPublic = isPublic;
    }


    public void setAreaType(Integer areaType) {
        this.areaType = areaType;
    }

    public Integer getAreaType() {
        return areaType;
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public AxhFinance() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFinanceTitle() {
        return financeTitle;
    }

    public void setFinanceTitle(String financeTitle) {
        this.financeTitle = financeTitle == null ? null : financeTitle.trim();
    }

    public Integer getFromToAreaId() {
        return fromToAreaId;
    }

    public void setFromToAreaId(Integer fromToAreaId) {
        this.fromToAreaId = fromToAreaId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Integer getCurrentStatus() {
        return currentStatus;
    }

    public void setCurrentStatus(Integer currentStatus) {
        this.currentStatus = currentStatus;
    }

    public BigDecimal getBorrowTotalMoney() {
        return borrowTotalMoney;
    }

    public void setBorrowTotalMoney(BigDecimal borrowTotalMoney) {
        this.borrowTotalMoney = borrowTotalMoney;
    }

    public BigDecimal getLoanTotalMoney() {
        return loanTotalMoney;
    }

    public void setLoanTotalMoney(BigDecimal loanTotalMoney) {
        this.loanTotalMoney = loanTotalMoney;
    }

    public Integer getIsPublic() {
        return isPublic;
    }

    public void setIsPublic(Integer isPublic) {
        this.isPublic = isPublic;
    }
}